using System.Collections.Generic;
using Webshop20.Domain.Catalog.Core.Products;
using Webshop20.Domain.Shared.Products.Core;

namespace Webshop20.Application.Queries.Messages
{
    public class GetProductsBySPecificationResponse : MessageBase
    {
        private readonly IEnumerable<Product> products;

        public GetProductsBySPecificationResponse(IEnumerable<Product> products)
        {
            this.products = products;
        }

        public IEnumerable<Product> Products
        {
            get { return products; }
        }
    }
}